Skip to content

ci: add 15min timeout to build/test jobs and cache apt packages#80

Merged
poyrazK merged 1 commit intomainfrom
fix/ci-timeout-and-cache
May 7, 2026
Merged

ci: add 15min timeout to build/test jobs and cache apt packages#80
poyrazK merged 1 commit intomainfrom
fix/ci-timeout-and-cache

Conversation

@poyrazK
Copy link
Copy Markdown
Owner

@poyrazK poyrazK commented May 7, 2026

Summary

  • Add timeout-minutes: 15 to build and test jobs to prevent a single hung job from blocking the entire run
  • Replace apt-get install step with awalsh128/cache-apt-pkgs-action@latest to cache downloaded .deb packages across CI runs (avoids repeated 2min+ package installs)

Root Cause

Previous merge run (25502651370) hung on sudo apt-get install -y cmake clang clang-tidy llvm ninja-build ccache for over 2 hours. The package install completed successfully on the other build variants but this one runner was slow/blocked.

Changes

  • build job: timeout-minutes: 15 + awalsh128/cache-apt-pkgs-action replacing manual apt-get
  • test job: timeout-minutes: 15 (no apt-get change needed since it only runs after build)

- Replace apt-get install step with awalsh128/cache-apt-pkgs-action
  which caches downloaded .deb packages across CI runs
- Add timeout-minutes: 15 to build and test jobs to prevent hangs
  from blocking the run
- Keep ccache step as before
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 7, 2026

Warning

Rate limit exceeded

@poyrazK has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 35 minutes and 26 seconds before requesting another review.

To continue reviewing without waiting, purchase usage credits in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 90b0a2fa-73a9-42b7-850b-af139f66325e

📥 Commits

Reviewing files that changed from the base of the PR and between e4a1f57 and d02abdd.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ci-timeout-and-cache

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Owner Author

@poyrazK poyrazK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's okay to merge

@poyrazK poyrazK merged commit 18d5d03 into main May 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant